package spider.zookeeper;

import org.apache.zookeeper.WatchedEvent;

/**
 * 观察反应器
 *
 * @author Archx[archx@foxmail.com]
 * @date 2017/4/7
 */
public interface WatcherReactor {

    /**
     * 处理响应事件
     *
     * @param watchedEvent 事件
     * @return
     */
    boolean handle(WatchedEvent watchedEvent);

}
